home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 4838 / 4838.xpi / chrome / multipletab.jar / content / multipletab / lib / tabFx2Compatible.xml < prev    next >
Extensible Markup Language  |  2010-02-03  |  2KB  |  46 lines

  1. <?xml version="1.0"?>
  2. <!--
  3.  Firefox 2 compatible tab structure library for Firefox 3 or later
  4.  
  5.  Usage:
  6.    <?xul-overlay href="tabFx2Compatible.xul"?>
  7.  
  8.  lisence: The MIT License, Copyright (c) 2009 SHIMODA "Piro" Hiroshi
  9.    http://www.cozmixng.org/repos/piro/fx3-compatibility-lib/trunk/license.txt
  10.  original:
  11.    http://www.cozmixng.org/repos/piro/fx3-compatibility-lib/trunk/tabFx2Compatible.xul
  12.    http://www.cozmixng.org/repos/piro/fx3-compatibility-lib/trunk/tabFx2Compatible.xml
  13.    http://www.cozmixng.org/repos/piro/fx3-compatibility-lib/trunk/tabFx2Compatible.css
  14. -->
  15.  
  16. <!DOCTYPE bindings [
  17. <!ENTITY % tabBrowserDTD SYSTEM "chrome://browser/locale/tabbrowser.dtd" >
  18. %tabBrowserDTD;
  19. <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
  20. %globalDTD;
  21. ]>
  22.  
  23. <bindings id="tabFx2CompatibleBindings"
  24.     xmlns="http://www.mozilla.org/xbl"
  25.     xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  26.     xmlns:xbl="http://www.mozilla.org/xbl">
  27.  
  28.     <binding id="tabbrowser-tab"
  29.         extends="chrome://browser/content/tabbrowser.xml#tabbrowser-tab">
  30.         <content chromedir="&locale.dir;"
  31.             closetabtext="&closeTab.label;">
  32.             <xul:hbox class="tab-image-left" xbl:inherits="selected"/>
  33.             <xul:hbox flex="1" class="tab-image-middle" align="center" xbl:inherits="selected">
  34.                 <xul:stack class="tab-icon">
  35.                     <xul:image xbl:inherits="validate,src=image" class="tab-icon-image"/>
  36.                     <xul:image class="tab-extra-status"/>
  37.                 </xul:stack>
  38.                 <xul:label flex="1" xbl:inherits="value=label,crop,accesskey" class="tab-text"/>
  39.             </xul:hbox>
  40.             <xul:toolbarbutton anonid="close-button" tabindex="-1" class="tab-close-button"/>
  41.             <xul:hbox class="tab-image-right" xbl:inherits="selected"/>
  42.         </content>
  43.     </binding>
  44.  
  45. </bindings>
  46.